<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="mall/header::head-fragment('Magic_Coffee咖啡店-个人中心','user-center')">
</head>
<body>
<header th:replace="mall/header::header-fragment"></header>
<nav th:replace="mall/header::header-search-fragment"></nav>
<div class="crumb">
    <div class="w">
        <div class="crumb-con">
            <a href="./index.html" class="link">Mall</a>
            <span>></span>
            <span class="link-text">个人中心</span>
        </div>
    </div>
</div>
<div class="page-wrap w">
    <!--左边导航栏-->
    <div th:replace="mall/nav-side::nav-side-fragment"></div>
    <div class="content with-nav">
        <div class="panel" >
            <div class="panel-title">个人中心</div>
            <div class="panel-body">
                <div class="user-info">
                    <div class="form-line">
                        <span class="label">用户名：</span>
                        <span class="text" th:text="${session.MallUser.username}"></span>
                    </div>
                    <div class="form-line">
                        <span class="label">电话：</span>
                        <span class="text" th:text="${session.MallUser.phone}"></span>
                    </div>
                    <div class="form-line">
                        <span class="label">邮箱：</span>
                        <span class="text" th:text="${session.MallUser.email}"></span>
                    </div>
                    <div class="form-line">
                        <span class="label">问题：</span>
                        <span class="text" th:text="${session.MallUser.question}"></span>
                    </div>
                    <div class="form-line">
                        <span class="label">答案：</span>
                        <span class="text" th:text="${session.MallUser.answer}"></span>
                    </div>
                    <a th:href="@{'/user-center-update.html'}" class="btn btn-submit">编辑</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:replace="mall/general-footer::general-footer-fragment"></div>
</body>
<!--jQuery-->
<!--<script th:src="@{/admin/plugins/jquery/jquery.min.js}"></script>-->
<script th:src="@{/admin/plugins/jquery/jquery-3.5.1.min.js}"></script>

<script type="text/javascript">
    $(function () {
        $('#user-center').addClass('active');
    });
</script>
</html>